<?php
/*
 * 
 * 
http://www.hujuntao.com/web/javascript/ther-search-engines-autosuggest-api.html



各大搜索引擎自动提示API
胡俊涛 | 2012-04-02
谷歌(Google)

    Api地址：www.google.com/s?hl=zh-cn&sugexp=llsin&q=设计

        window.google.ac.h(["设计",[["设计在线","","0"],["设计","","1"],["设计素材","","2"],["设计签名","","3"],["设计网","","4"],["设计中国","","5"],["设计路上","","6"],["设计图库","","7"],["设计公司","","8"],["设计欣赏","","9"]],{“k”:1}])

百度(baidu)

    Api地址：http://suggestion.baidu.com/su?wd=设计&p=3&cb=window.bdsug.sug

        window.bdsug.sug({q:”设计”,p:false,s:["设计之家","设计素材下载","设计签名","设计在线","设计师","设计英才网","设计软件","设计兵团","设计公司","设计说明"]});

搜搜(soso)

    Api地址：http://www.soso.com/smart_web.q?w=设计

        设计 1c36589c53454a90dab8033f2f7124d7 0 设计阶段 0 0 设计装修 0 0 设计之家 0 0 设计签名 0 0 设计服务 0 0 设计兵团 0 0 设计师家具 0 0 设计师 0 0 设计素材之家 0 0 设计人生 0

有道(youdao)

    Api地址：http://www.youdao.com/suggest2/suggest.s?query=设计&keyfrom=web.suggest&rn=10&o=aa

        aa.updateCall({q:’设计’,r:[{c:'设计网名'},{c:'设计英才网'},{c:'设计之家'},{c:'设计签名'},{c:'设计在线'},{c:'设计个性签名'},{c:'设计素描图片'},{c:'设计师'},{c:'设计兵团'},{c:'设计图怎么做'}]})

搜狗(sogou)

    Api地址：http://w.sugg.sogou.com/sugg/ajaj_json.jsp?key=设计&type=web

        window.sogou.sug(["设计",["设计之家","设计英才网","设计在线","设计签名","设计师","设计兵团","设计网站","设计软件","设计网","设计中国"]],-1);

一淘(etao)

    Api地址：http://suggest.taobao.com/sug?area=etao&code=utf-8&callback=KISSY.Suggest.callback&q=设计

        KISSY.Suggest.callback({“result”: [["设计师品牌 -原创", "55740"], ["设计师", "229765"], ["设计素材", "49096"], ["设计感", "32436"], ["设计师品牌", "56416"], ["设计猫", "22815"], ["设计师品牌女装", "3603"], ["设计前线", "933"], ["设计logo", "54977"], ["设计阶段", "301"]],”etaobook”:[["设计中的色彩心理学","2346799","金容淑","人民邮电出版社","2011-1-1"], ["设计语言：经典标志设计密码（附光盘）","1840962","埃瓦米","华中科技大学出版社","2009-2-1"], ["设计密码（如何成为一名优秀的职业设计师）","1845460","魏来","中信出版社","2010-4-1"], ["设计观点","2401723","祝帅","辽宁科学技术出版社","2010-9-1"], ["设计的品格-探索×呈现×进化的InDesign美学","2239663","叶立群","人民邮电出版社","2010/9/1"]]})

雅虎(yahoo)

    Api地址：http://s.aliyun.com/ajax.php?format=jsonp&q=设计

        Proxy(“suggest_show”,["\u8bbe\u8ba1\u53f2","\u8bbe\u8ba1\u6807\u5fd7","\u8bbe\u8ba1\u8f6f\u4ef6\u57f9\u8bad","\u8bbe\u8ba1\u8bf4\u660e","\u8bbe\u8ba1\u6784\u6210","\u8bbe\u8ba1\u7406\u5ff5","\u8bbe\u8ba1\u4e4b\u5bb6","\u8bbe\u8ba1\u7684\u6539\u9769","\u8bbe\u8ba1\u4e00\u5ea7\u6865","\u8bbe\u8ba1 \u767e\u4e8b\u901a"]);

必应(bing)

    Api地址：http://sg1.api.bing.com/qsonhs.aspx?type=cb&cb=callback&q=设计

        if(typeof callback == ‘function’) callback({“AS”:{“Query”:”设计”,”FullResults”:1,”Results”:[{"Type":"AS","Suggests":[{"Txt":"设计之家","Type":"SF"},{"Txt":"设计之家","Type":"AS"},{"Txt":"设计在线","Type":"AS"},{"Txt":"设计签名","Type":"AS"},{"Txt":"设计师","Type":"AS"},{"Txt":"设计软件","Type":"AS"},{"Txt":"设计网","Type":"AS"},{"Txt":"设计模式","Type":"AS"}]}]}} /* pageview_candidate */);